package com.edu.project.http.interfaces;



import com.edu.project.bean.HttpResult;
import com.edu.project.bean.UserData;
import com.edu.project.bean.Weather;

import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import rx.Observable;

/**
 * 请求数据服务
 */
public interface Api {


    @POST("UserInfo/GetUserList")
    Observable<HttpResult<UserData>> getUserList(@Query("PageIndex") String PageIndex, @Query("PageSize") String PageSize);

    //http://www.weather.com.cn/adat/sk/101010100.html

    @GET("adat/sk/101010100.html")
    Observable<Weather> getWeatherData();


}
